package pers.mobian.aop;

import org.springframework.aop.framework.autoproxy.DefaultAdvisorAutoProxyCreator;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.Import;

/**
 * @Date 2021/10/13 19:58
 * @Created mobian
 * @Description
 */
@Import(DefaultAdvisorAutoProxyCreator.class)
@EnableAspectJAutoProxy
// 上面的注解等价于注册一个Bean到容器中
// return registerOrEscalateApcAsRequired(AnnotationAwareAspectJAutoProxyCreator.class, registry, source);
//@EnableTransactionManagement
public class Config {
}
